/*
*  Copyright (c) 2018. 玺得（深圳）科技有限公司.保留所有权利. http://www.pi-top.com/ 玺得（深圳）科技有限公司保留所有代码著作权.如有任何疑问请访问官方网站与我们联系. 代码只针对特定需求定制编码，不得在未经允许或授权的情况下对外传播扩散.恶意传播者，法律后果自行承担. 本代码仅用于pps-cloud系统.
*/
package com.pitop.material.api;

import com.pitop.material.entity.MaterialCurrency;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 币种 api请求熔断器 熔断实现
 * @author berton
 */
@Component
public class MaterialCurrencyFeignApiImpl implements MaterialCurrencyFeignApi {
    /**
     * 查询MaterialCurrency一个详情信息
     * @param id 
     * @param code 编码
     * @return MaterialCurrency
     */
    @Override
    public  MaterialCurrency load(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return new MaterialCurrency();
    }


    /**
     * 根据条件id查询MaterialCurrency一个详情信息
     *
     * @param id 
     * @return MaterialCurrency
     */
    @Override
    public   MaterialCurrency loadById(@RequestParam("id") java.lang.Long id){
        return new MaterialCurrency();
    }

    /**
     * 根据条件code查询MaterialCurrency一个详情信息
     *
     * @param code 编码
     * @return MaterialCurrency
     */
    @Override
    public   MaterialCurrency loadByCode(@RequestParam("code") java.lang.String code){
        return new MaterialCurrency();
    }

    /**
     * 查询MaterialCurrency信息集合
     *
     * @return 分页对象
     */
    @Override
    public    List<MaterialCurrency> list(@RequestBody MaterialCurrency materialCurrency,int curPage,int pageSize){
        return new ArrayList();
    }

    /**
     * 查询MaterialCurrency信息集合
     *
     * @return 分页对象
     */
    @Override
    public   List<MaterialCurrency> listByPk(java.lang.Long id,java.lang.String code,int curPage,int pageSize){
        return new ArrayList();
    }

    @Override
    public Integer count(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
         return 0;
    }

    @Override
    public Integer count(@RequestBody MaterialCurrency materialCurrency) {
        return 0;
    }

    /**
     * 创建MaterialCurrency
     *
     * @return MaterialCurrency
     */
    @Override
    public   MaterialCurrency build(@RequestBody MaterialCurrency materialCurrency){
        return new MaterialCurrency();
    }

    /**
     * 修改MaterialCurrency
     *
     * @return MaterialCurrency
     */
    @Override
    public   MaterialCurrency modify(@RequestBody MaterialCurrency materialCurrency){
        return new MaterialCurrency();
    }

    /**
     * 删除MaterialCurrency
     *
     */
    @Override
    public  void delete(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return;
    }
}
